Skip to content

fix: We were applying the max_sites_to_claim filter too early. Many s…#422

Merged
adam-miller merged 2 commits intomasterfrom
adam/fix_claim_sites_pre_filter
Nov 13, 2025
Merged

fix: We were applying the max_sites_to_claim filter too early. Many s…#422
adam-miller merged 2 commits intomasterfrom
adam/fix_claim_sites_pre_filter

Conversation

@adam-miller
Copy link
Copy Markdown
Contributor

…ites in a single crawl prevent claimable sites from getting through.

Added a unit test for this situation. When we have lots of sites in a single job and all get claimed, this fills the claimable_sites list with only sites that will end up being excluded due to the job max being hit. We need to pass along all of the claimable sites to let other jobs get through. The added test triggers this bug, and only passes with the changes to frontier.py

@adam-miller adam-miller merged commit 78263af into master Nov 13, 2025
5 checks passed
@mistydemeo mistydemeo mentioned this pull request Nov 13, 2025
@mistydemeo mistydemeo deleted the adam/fix_claim_sites_pre_filter branch January 26, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants